package pl.register.android.util;

import android.content.Context;
import android.graphics.drawable.Drawable;
import pl.register.android.R;

public enum ListItemMode {

    NONE {
        @Override
        public Drawable getIcon(Context context) {
            return null;
        }
    },
    EDIT {
        @Override
        public Drawable getIcon(Context context) {
            return context.getResources().getDrawable(R.drawable.ic_edit_grey);
        }
    },
    DELETE {
        @Override
        public Drawable getIcon(Context context) {
            return context.getResources().getDrawable(R.drawable.ic_delete_grey);
        }
    };

    public abstract Drawable getIcon(Context context);

}